package com.dcbeida.fragment.salsesFragment;

import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;
import com.dcbeida.bean.PatientList;
import com.dcbeida.bean.Sales;

import java.util.ArrayList;

/**
 * Created by 150410 on 2017/8/31.
 */

public interface SalsesContract {
    interface View extends BaseView<Persent>{
        void showTelTip(String msg);//接口返回的msg

        void showView(boolean hasData);//接口有返回数据

        void showList(ArrayList<Sales.ListBean> list);

        void showPatientList(PatientList list);
    }

    interface Persent extends BasePresenter{
        /**
         *
         *
         * @param hospitalid 用于查询某个医院的订单

         * @param pageindex 页码
         * @param pagesize 数量
         */
        void getList( String hospitalid,  int pageindex, int pagesize);//

        void getPatientInfo(int type, String keyword);//获取患者信息
    }
}
